package com.yxinsur.imc.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yxinsur.imc.common.annotation.Excel;
import com.yxinsur.imc.common.core.domain.BaseImcEntity;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * 供应商继续率子对象 imc_supplier_persistency_detail
 *
 * @author imc
 * @date 2021-09-23
 */
@Data
@ToString
public class ImcSupplierPersistencyDetail extends BaseImcEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 供应商继续率主表id
     */
    @Excel(name = "供应商继续率主表id")
    private Long supplierPersistencyId;

    /**
     * 险种表主键id
     */
    @Excel(name = "险种表主键id")
    private Long repoInsId;

    /**
     * 险种名称
     */
    @Excel(name = "险种名称")
    private String repoInsName;

    /**
     * 分母保单ids
     */
    @Excel(name = "分母保单ids")
    private String denominatorOrderRiskIds;

    /**
     * 分母金额
     */
    @Excel(name = "分母金额")
    private BigDecimal denominatorPrem;

    /**
     * 分子保单
     */
    @Excel(name = "分子保单")
    private String numeratorOrderRiskIds;

    /**
     * 分子金额
     */
    @Excel(name = "分子金额")
    private BigDecimal numeratorPrem;

    /**
     * 系统继续率
     */
    @Excel(name = "系统继续率")
    private BigDecimal sysPersistency;

    /**
     * 保司继续率
     */
    @Excel(name = "保司继续率")
    private BigDecimal supplierPersistency;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String createId;

    /**
     * 修改人
     */
    @Excel(name = "修改人")
    private String updateId;

    /**
     * 逻辑删除
     */
    @Excel(name = "逻辑删除")
    private String isDeleted;

    /**
     * 租户id,一个租户id唯一对一个机构id（默认机构id为根节点id暨法人机构）
     */
    @Excel(name = "租户id,一个租户id唯一对一个机构id", readConverterExp = "默=认机构id为根节点id暨法人机构")
    private Long tenantId;




}
